package com.cloud.basic.Advance.Design.BuilderPattern;

/**
 * @program: basic
 * @description: 产品
 * @author: Cloud
 * @create: 2022/2/23 16:34:39
 */
public class Product {

    // 产品属性
    private String partA;
    private String partB;
    private String partC;

    public String getPartA() {
        return partA;
    }

    public void setPartA(String partA) {
        this.partA = partA;
    }

    public String getPartB() {
        return partB;
    }

    public void setPartB(String partB) {
        this.partB = partB;
    }

    public String getPartC() {
        return partC;
    }

    public void setPartC(String partC) {
        this.partC = partC;
    }

//    @Override
    public String show() {
        return "Product{" +
                "partA='" + partA + '\'' +
                ", partB='" + partB + '\'' +
                ", partC='" + partC + '\'' +
                '}';
    }
}
